#!/bin/bash
set -x
export ii=$II
export i=$I
export lsvn_loc=
if [[ "$1" = "-l" ]] ; then
	export lsvn_loc=$2
	shift 2
fi
if [[ "$1" = "-r" ]] ; then
  shift 2
fi
dir="$1"
fn="$2"
#set -x
if [[ -n "$lsvn_loc" ]] ; then
	export SVN_LOC=$lsvn_loc
elif [[ -z "$SVN_LOC" ]] ; then
	export SVN_LOC=$CVS_LOC
fi
cd $dir
$SVN_LOC/svn resolved $fn 2>&1 | tee -a $ii/whyresl
#cvs admin -kb $fn
